### Messsages

| Function name | Description | Type | Source code |
| - | - | - | - |
| `messages` | Continuously fetches messages from Microsoft Teams channels and chats. Details: incremental sync, goes back 10 days on first sync, metadata tracks last sync per channel/chat. | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/microsoft-teams/syncs/messages.ts) |

### Org Units

| Function name | Description | Type | Source code |
| - | - | - | - |
| `org-units` | Continuously fetches groups from either Microsoft 365 or Azure Active Directory. Details: full refresh, support deletes, goes back all time, metadata is not required. | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/microsoft-teams/syncs/org-units.ts) |

### Users

| Function name | Description | Type | Source code |
| - | - | - | - |
| `users` | Continuously fetches users from either Microsoft 365 or Azure Active Directory given specified groups to sync. | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/microsoft-teams/syncs/users.ts) |